CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)

PROJECT(k)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )

SET(K_SRC src/k.c)

ADD_LIBRARY(k STATIC ${K_SRC})
TARGET_INCLUDE_DIRECTORIES(k PUBLIC ${PROJECT_SOURCE_DIR}/include)
TARGET_LINK_LIBRARIES(k z)
